package com.example.demo2;

public class Blog {
  private Student student;
 
  public Student getStudent() {
      return student;
  }
  public void setStudent(Student student) {
      this.student = student;
  }
  public void  before(){
      System.out.println(student.getName()+"准备登录.....");
  }
  public void  after(){
      System.out.println(student.getName()+"已经登录.....");
  }
  public void  returning(){
      System.out.println(student.getName()+"已经在玩了.....");
  }
  public void  throwing(){
      System.out.println("throwing.....");
  }
}
